projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a17d629
)
tooltip: Minor cleanup
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 22 Mar 2015 15:47:23 +0000
(11:47 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 22 Mar 2015 15:47:23 +0000
(11:47 -0400)
Preserve the symmetry in gtk_tooltip_set_last_window.
gtk/gtktooltip.c
patch
|
blob
|
history
diff --git
a/gtk/gtktooltip.c
b/gtk/gtktooltip.c
index fa4c8b68cde74e04acd76a8fea0eaa4b479cc532..fd2ba1413b5ffb3ad73896e53a0f4154bfa3d647 100644
(file)
--- a/
gtk/gtktooltip.c
+++ b/
gtk/gtktooltip.c
@@
-904,7
+904,7
@@
gtk_tooltip_set_last_window (GtkTooltip *tooltip,
tooltip->last_window = window;
- if (window)
+ if (
tooltip->last_
window)
g_object_add_weak_pointer (G_OBJECT (tooltip->last_window),
(gpointer *) &tooltip->last_window);